package cnooc.autoControl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cnooc.common.annotation.Excel;
import cnooc.common.core.domain.BaseEntity;

/**
 * 自动控制策略对象 ems_auto_control_strategy
 * 
 * @author chen
 * @date 2025-07-19
 */
public class AutoControlStrategy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 定时任务id */
    @Excel(name = "定时任务id")
    private Long jobId;

    /** 蓄电池保护装置列表 */
    @Excel(name = "蓄电池保护装置列表")
    private String batteryProtectionDeviceList;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private int equipmentStatus;


    /** 时间戳 */
    @Excel(name = "时间戳")
    private String timestamp;

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public int getEquipmentStatus() {
        return equipmentStatus;
    }

    public void setEquipmentStatus(int equipmentStatus) {
        this.equipmentStatus = equipmentStatus;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setJobId(Long jobId) 
    {
        this.jobId = jobId;
    }

    public Long getJobId() 
    {
        return jobId;
    }
    public void setBatteryProtectionDeviceList(String batteryProtectionDeviceList)
    {
        this.batteryProtectionDeviceList = batteryProtectionDeviceList;
    }

    public String getBatteryProtectionDeviceList()
    {
        return batteryProtectionDeviceList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("jobId", getJobId())
            .append("batteryProtectionDeviceList", getBatteryProtectionDeviceList())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
